﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
using System.Web.Services;
using System.Web.Script.Services;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Page.LoadControl("~/UC/LoginPopup.ascx");
        
        
    }
    protected void Finddatebtn_Click(object sender, EventArgs e)
    {
        if (Membership.GetUser() != null)
        {
            Page.Response.Redirect("~/Restricted/SearchSite.aspx");
        }
        else
        {
            Page.Response.Redirect("~/CreateUser.aspx");
            
        }
        
    }

}